package com.win.oauth.utils;

import com.wf.captcha.ArithmeticCaptcha;
import com.wf.captcha.base.Captcha;

import java.awt.*;

public class CaptchaUtil {

    public static Captcha getCaptcha() {
        ArithmeticCaptcha captcha = new ArithmeticCaptcha(120, 38, 2);
        captcha.setFont(new Font("Verdana", Font.PLAIN, 32));
        return captcha;
    }
}
